Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



8086 Assembly Lanuage Interrupt int10h Function 03H Get The Cursor Position


Home  > 8086  > interrupt list  > int 10 video interrupt  > 8086 Assembly Lanuage Interrupt int10h Function 03H Get The Cursor Position 
       
Ideally you need only ony DX that is DH for row and DL for coloumn to get the curosr position. 
the remaining CX are used for the size. 



INT 10 - VIDEO - GET CURSOR POSITION AND SIZE
	AH = 03h
	BH = page number
		 0-3 in modes 2&3
		 0-7 in modes 0&1
		 0 in graphics modes
Return: AX = 0000h (Phoenix BIOS)
	CH = start scan line
	CL = end scan line
	DH = row (00h is top)
	DL = column (00h is left)
Notes:	a separate cursor is maintained for each of up to 8 display pages
	many ROM BIOSes incorrectly return the default size for a color display
	  (start 06h, end 07h) when a monochrome display is attached
SeeAlso: AH=01h,AH=02h,AH=12h/BL=34h


If u think u need a sample come or further explanation. send me a mail its in the contact details. I will help u with what ever i can.


  
Int 10 AH 00 Set Video Mode

8086 Set Text Mode Cursor Shape Int 10H AH 01

8086 interrupt 10h function 02h to set the cursor position

index

8086 Assembly Lanuage Interrupt int10h Function 03H Get The Cursor Position

8086 int 10h function 05 to set the active display page

8086 interrupt 10h function 06h int10 ah 06h to scroll up the windows

8086 video interrupt 10h function 07 to scroll down the window

8086 interrupt ah 08 int 10h to read character at current cursor position

8086 int to display a character in10h function 09



  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam